<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SubmitPersonDB</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> SubmitPersonDB</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class provides access to the database for MemberDB</p>
	<ul class="tags">
				<li><span class="field">version:</span> Release: @package_version@</li>
				<li><span class="field">copyright:</span> 2009 A Memory Tree</li>
				<li><span class="field">license:</span> A</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_admin---insert---db---SubmitPersonDB.php.html">/admin/insert/db/SubmitPersonDB.php</a> (line <span class="field">17</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"><a href="../default/Db.html">Db</a></span>&nbsp;<span class="var-name">$db</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#escape" title="details" class="method-name">escape</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">int</span>
										<a href="#getAddListingNotify" title="details" class="method-name">getAddListingNotify</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getCharityNameID" title="details" class="method-name">getCharityNameID</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityName</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getFuneralHomeEmail" title="details" class="method-name">getFuneralHomeEmail</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getFuneralHomeName" title="details" class="method-name">getFuneralHomeName</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#insertCharity" title="details" class="method-name">insertCharity</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityName</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">int</span>
										<a href="#insertNewPerson" title="details" class="method-name">insertNewPerson</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$surname</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$firstnames</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$formername</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$neename</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$alsoknownas</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$deathdate</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$birthdate</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$age</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$agemeasure</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$cityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$formercityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$regionid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$countryid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$funeralhomeid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$otherinfo</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
													<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">31</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create a new instance of this class</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"><a href="../default/Db.html">Db</a></span>&nbsp;<span class="var-name">$db</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/Db.html">Db</a></span>
				<span class="var-name">$db</span>			</li>
				</ul>
		
			
	</div>
<a name="methodescape" id="escape"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">escape</span> (line <span class="line-number">41</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Escape the provided value</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			escape
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetAddListingNotify" id="getAddListingNotify"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getAddListingNotify</span> (line <span class="line-number">153</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the AddListingNotify value for the funeral home</p>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			getAddListingNotify
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$funeralHomeId</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetCharityNameID" id="getCharityNameID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getCharityNameID</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the id number of the named charity</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getCharityNameID
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$charityName</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFuneralHomeEmail" id="getFuneralHomeEmail"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getFuneralHomeEmail</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the funeral home email</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getFuneralHomeEmail
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$funeralHomeId</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFuneralHomeName" id="getFuneralHomeName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getFuneralHomeName</span> (line <span class="line-number">198</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the funeral home Name</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getFuneralHomeName
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$funeralHomeId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$funeralHomeId</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinsertCharity" id="insertCharity"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">insertCharity</span> (line <span class="line-number">77</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a charity to the database</p>
	<ul class="tags">
				<li><span class="field">return:</span> The id number of the newly added charity</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			insertCharity
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$charityName</span><span class="var-description">: The charity to be added</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinsertNewPerson" id="insertNewPerson"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">insertNewPerson</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a person to the database</p>
	<ul class="tags">
				<li><span class="field">return:</span> The id number of the newly added person</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			insertNewPerson
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$surname</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$firstnames</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$formername</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$neename</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$alsoknownas</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$deathdate</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$birthdate</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$age</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$agemeasure</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$cityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$formercityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$regionid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$countryid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$charityid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$funeralhomeid</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$otherinfo</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$surname</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$firstnames</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$formername</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$neename</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$alsoknownas</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$deathdate</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$birthdate</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$age</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$agemeasure</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$cityid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$formercityid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$regionid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$countryid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$charityid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$funeralhomeid</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$otherinfo</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 18 Jun 2009 14:08:00 +1200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
	</p>
	</div></body>
</html>